Install the safe according to specification at your friends house. Notify your DFO, have the safe inspect by your DFO and lock your gun in it. #
Your storing your safe at your friend, not your firearm at his house.

Might be less schlep just to get a storage permit and store the firearms in his safe.