Not to be an ass but are they plugged in?
Most of the sensors on the block itself including the MAF will throw codes if there is some short to power on the block or head. Positive loose wire hitting the block or a squashed COP wire will do this. The MAS side harness is pretty short and is also where the coolant temp line is at. Pull that harness side off, about 10 plugs maybe, and look over the wiring. I usually retape my harness with friction tape(Hockey tape) which makes it more flexible and if It's wrapped, I know it's good.
/brox