Under federal law you are required to carry the gun and ammunition seperately or as separately as your vehicle will reasonably allow. The firearm must be in a locked case and the ammo separated from the weapon. CCW allows you the right to carry under federal law.
This is so far off it is not even funny.
The federal law you are referring to applies to interstate transportation of firearms, and was designed to allow for safe passage through restrictive states.
CCW has nothing to do with federal law (unless you are a LEO).
It is a state's permission to carry a concealed weapon and not be violation of state law.
The permit may be valid in more than one state depending on reciprocity agreements entered into between the states.
When in another state were a permit is valid, you must comply with their laws and regulations about carry.