I wouldn't suspect oxygen sensor if one cylinder is to lean. It may be a fuel injector is dirty, or the above mentioned possibilities.
It's not one cylinder that is lean, it's the A/F ratio for the entire engine, affecting the fuel trim...from the manual
-CIRCUIT DESCRIPTION
Fuel trim refers to the feedback compensation value compared to the basic injection time. Fuel trim includes
short-term fuel trim and long-term fuel trim.
Short-term fuel trim is the short-term fuel compensation used to maintain the air-fuel ratio at its ideal
theoretical value. The signal from the A/F sensor is approximately proportional to the existing air-fuel ratio,
and ECM comparing it with the ideal theoretical value, the ECM reduces fuel volume immediately if the airfuel
ratio is rich and increases fuel volume if it is lean.
Long-term fuel trim compensates for the deviation from the central value of the short-term fuel trim stored
up by each engine tolerance, and the deviation from the central value due to the passage of time and
changes of environment.
If both the short-term fuel trim and long-term fuel trim exceed a certain value, it is detected as a malfunction
and the MIL lights up.
P0171
When air fuel ratio feedback is stable after engine warming up,
fuel trim is considerably in error on RICH side
(2 trip detection logic)
Things to check for correct function...
Air induction system
Injector blockage
Mass air flow meter
Engine coolant temp. sensor
Fuel pressure
Gas leakage on exhaust system
Open or short in A/F sensor (bank 1 sensor 1) circuit
A/F sensor (bank 1 sensor 1)
PCV valve and hose
ECM