Those plugs don't owe you anything at 130k miles. That's a cheap maintenance item and well worth it in this case, IMO. A good injector cleaner like Redline SI-1, Chevron Techron Plus, Gumout Regane, etc. could help also, as Vikas suggested. If it's been a long time since you did anything like that, you can use 2 bottles in the tank no problem. The P0171 code means it's bank 1, which is the side that has cylinder #1.
You could have an exhaust system leak, bad O2 sensor, intake manifold leak, or the problem might have been fixed with the MAF cleaning but hasn't gone away yet due to not enough drive cycles. Have you cleared the code and it came back? When you switch the climate system from blowing out the defroster to blowing out the floor vent, does it change pretty quickly?