Did you swap the sensor to a 4 wire sensor when you did the swap? The civic has a 2 wire o2 sensor and the integra has a 4 wire. That's most likely why you are throwing the code. I would do that first and then your car should run fine.