I'd try some easy things 1st for your P0174 code. Clean your MAF sensor, clean inside your throttle body & reset the throttle body. If these are all ok and did nothing, check bank 2 O2 sensor with OBD2 reader. If that's ok, check fuel pressure.
For your B0224 code, I'd make sure your battery...