pull the egr, clean the tubes, make sure they are not cracked or anything, put them back clear the code, see if it comes back, if you found a carbon blockage that was the low flow, if its all clear, try changing the map sensor.
the other code is your cat. if its a hi flow cat, you'll need a emulator maybe.