Make sure the code is cleared, it may be history.
If the engine was run a long time with a misfire, the O2 sensor my be fowled up. But before swapping in a new sensor, be sure to reset the code. Unplug the negative battery cable for 20 minuets. That should clear anything on the PCM.
And yes, 1 is before the cat, and 2 is after.