If you unplug the sensor you will get like 4 codes.

It's easier to buy a 2 dollar o2 sensor bung and weld it on to the new pipe and put the sensor back in.