Basically this means that an oxygen sensor in bank 2 detected a lean condition (too much oxygen in the exhaust). On V8 engines, Bank 2 is generally the side of the engine that doesn't have cylinder #1.
A code P0174 may mean that one or more of the following has happened:
The MAF (Mass Air Flow) Sensor is dirty or faulty. Note: The use of "oiled" air filters (K&N, etc.) can cause the MAF to become dirty if the filter is over-oiled, or There could be a vacuum leak downstream of the MAF sensor.
DId you install CAI recently? is so, check and make sure that there are no leak, MAF is not messed up, and check your filter itself.
I would remove the CAI, put the stock back on and see if light go out. IF it is, then you know whats the deal
Since you got P1151, which means Heated Exhaust Oxygen (HO2S) sensor indicating lean at the end of a test is trying to correct for an over-rich condition. The test fails when the fuel control system no longer detects switching for a calibrated amount of time. It can be due to many reasons. But most common causes are
Short to VPWR in the harness or HO2S
Water in the harness connector
Open/shorted HO2S circuit
Corrosion or poor mating terminals and wiring
Damaged HO2S
Damaged PCM
Excessive fuel pressure
Leaking/contaminated fuel injectors
Leaking fuel pressure regulator
Low fuel pressure or running out of fuel
Vapor recovery system
Air leaks after the MAF
Vacuum Leaks
Improperly seated engine oil dipstick
So i say you got leak on intake tract somewhere