Look into a o2 sensor spacer its a brass fitting
I had cat fail a while back and check engine was on a shop put one on for me as a temporary fix so I could pass smog test and worked fine for me it’s like 4$ each I had it on for another 50k miles until I replaced my whole exhaust