trys to fix it by making the car run lean?? where did you get that idea from? the rear o2 sensors simply monitor the efficiency of the cats and nothing more.
to the o/p, after you put the stock mid-pipe back on you will want to reset the computer to clear CEL because it takes a few drive cycles for it to go off on its own