Eugene, I'd be guessing but it sounds like it's be bank 2 and post cat sensor...
But, 02 sensor codes often seem to come about because of other things pretty often...though with only one 02 code (assuming the heater is built into sensor) that might be more reliable.
I do know that cats on an older 750 have heaters independent of the sensor, but don't recall that on an e36.
As desperate as this sounds, in comedy, 'likes' and 'views,' 'friends,' and 'retweets' really help. If I've ever helped you, please help me by friending, liking, viewing, and retweeting. It makes others think I have a following...it'll take you a minute or less. If you could, I'd really appreciate it!
A recent set--NSFW audio: https://youtu.be/_dcxcZfD6dg
Mangofy your E46!