Shock Electrodeposition in Charged Porous Media