Hello all, im new here

I have a 92 prelude with jdm h22a swap. I have a CEL code 01, gave the car to my mechanic and he changed the O2 sensor, now the car drives/performs much better. but I am still getting CEL code 1 once in a while when the car is heated up.
Usually the first 15-25 min of driving has good performance, really nice exhaust noise but sometimes after 30-45 min of driving and that possibly the O2 sensor is hot, the exhaust becomes more noisy and small performance drop is noticed. And then sometimes i get CEL light again. googled it and learned to check the code myself and it's code 01. I assume my mecanic was getting same code. since i have a swap, my mechanic told me it could be the wiring. some other friend told me to try another ECU. could the heat affect the voltage that goes through the wiring/harness? should i buy a harness? redo all the wire/connection? please help me!