either one is rather expensive. My personal idea is that it's more likely to be the O2 sensor if you're car is OBDII........since those things tend to go out a little too often. Does the code throw immediately upon starting up?
I'm guessing you don't have any form of high flow cat........the cat if it's melted on the inside should be pretty obvious....pull it off and look at the catalyst element.
- Nathan