DO NOT USE FOAM Insulation.
The owner of the Demon I bought used the foam. After media blasting the paint off had to replace the lid. The foam trapped moisture in between and it rusted out BAD.
All dodge rams have foam between the bed quarters and the inner wheel house and the all rot out. Use seam adhesive it works the best. Same as they used on the hoods.