P1164 is the primary O2 sensor.
That error code is thrown when a sensor signal coming back to the computer is outside of an acceptable range. The computer expects a sensor to be within a certain range based on other operating parameters (such as, sensor "A" may have a different range if the car is cold vs. being at operating temperature). If the signal is outside that range, or shows unexpected behavior, the error is triggered.
A shorted or broken wire along the path can cause this as easily as a sensor that has gone bad. So if your wiring is good, you may have gotten a defective sensor or your rsx doesn't like Denso sensors, assuming you got the correct one to begin with.
FWIW, I have a used factory primary O2 sensor from my '03 Type-S that is clean and fully functional. I replaced it at 120,000 miles as preventive maintenance. I might sell it if you want to try an original OEM sensor.