Sounds like you might be about to get the code p0449 as well
The wiring that goes to the vapor canister behind the pass rear wheel is known to fail due to its location. Run new wiring and the p0171 should go away. As for the p0420, i had it and changes my upstream o2 sensor n it hasn't returned.
Sent from my SM-F936U using Tapatalk