P0171 Fuel System Lean, Bank 1
The O2 sensors have different codes to that. But a faulty sensor could possibly give that indication. Running lean, isn't a good thing so Don't drive hard until this is sorted as detonation could occur and cause damage.
If it was me, I would jack the car up, disconnect and swap the two front O2 sensors over, the ones nearest the engine. (The rear sensors shouldn't influence this fault)
Take the one from the passenger side and put it in the drivers side and vise verse then re-connect in the new position.
Reset the error codes and try again. If it still says 'bank 1' and not 'Bank 2' then you know its not the sensors.
If it still shows the fault, it could be as simple as an exhaust leak before the sensor on the manifold sucking in some air, or more serious like a fueling problem on bank one such as a dirty or sticky injector.
Let us know how you get on.