This question already has an answer here:
I've purchased a Bosch premium O2 sensor kit with SmartLink. It comes with a wiring chart but I have 2 wires that are not on it. My original O2 sensor has a red and yellow wire along with gray and black. Which wires are the heater wires and which wires are the signal and ground?