what year mustang? Was it an o2 heater circuit code? If so it's definitly the sensor.If not the sensor might be fine but reading something else thats wrong like a bad catalytic converter. Bank 2 sensor 2 is the sensor after the cat. You might have a clogged converter