You don't have much info on your truck, do you already have EFI ?I bought a K&N Blackhawk cold air intake for my 08 lmm and I keep getting code p0101 and reduced engine power because of the maf sensor. Is there a way in efi live to change the filter from a stock square to an aftermarket round cold air filter so it'll calibrate to the new air flow?
Have you tried cleaning the MAF sensor? Be careful and do NOT touch the sensor below the mounting holes.
Hold it from the top where the screws hold it in place, spray with only MAF sensor cleaner and reinstall.
If you already have a EFI tuner they should be able to re-calibrate the MAF for more airflow thru tuning.
I'm assuming you have the K&N cold air intake, it's not real clear in your post.
Unfortunally K&N is well known for causing P0101 codes because of to much air flow.
Your EFI tuner (if you have one) should be able to correct the problem for you.