You need to change the command mode on the receiver and remote.
Click here to learn how to change your Sony receiver (and its remote) to AV1 (or AV2) Command Mode When you do this, you should be able to use code 0158 so you can have access to advanced/discrete codes.