Emission control light

Mice ate the wires under the hood that connects to the engine light. we see the wire that is red & blue we are hoping that the loose wire is the problem. We are not sure on where to connect it. Can someone help???

What year Odyssey?