Welcome to JustAnswer, my name is XXX XXX I'm here to help get your problem resolved. Ask follow up questions, thanks.
Does check engine light ever flash? Does it run rough?
Pull the vacuum line off the fuel pressure regulator if fuel comes out then its leaking and will need to be replaced. You can disconnect front oxygen sensor, disconnect battery for 10 minutes then see if it runs better if so replace oxygen sensor. You can also clean out throttle body and mass airflow sensor with approved cleaner. Disconnect mass airflow sensor if it runs better replace it, if cleaning doesnt help. You could also make sure injectors ane purge valve are not leaking. Let me know if you have questions, thanks.
P0172 Fuel System Rich (Bank 1)