Using only aluminum foil to cover pipes will not be enough to protect ... But if you find yourself needing a solution fast, you can make DIY covers from household items like aluminum foil.
If you simply wrap your pipes in aluminum foil, though, that won't be enough ... something you already have around the house, but make sure you have at least 1 inch of insulation material around ...