Welcome to 2CarPros.
The P0031 indicates an issue with the heated oxygen sensor and the P0113 is with the intake air temp sensor. I suspect the O2 sensor may be setting due to the IAT. What needs done is to check both. I would start with the IAT, but the diagnostics require a live data scanner.
I will attach the diagnostics in the pics below. If it is something you can't do at home, please let me know.
Images (Click to enlarge)
Friday, October 11th, 2019 AT 6:27 PM