If a new heating element is severely corroded after a few weeks, you probably have electrical problems causing a current to flow through the water between the element and tank. Test the voltage between the tank and the frame with the heating element energized and de energized, use alternating current and direct current scales. All reading should be 0.
De-energize the entire system, AC and DC them check the resistance from tank to frame, it should be 0 ohms, if not, install a ground wire from tank to the frame, use 12 gauge or bigger wire.
If a circuit breaker blows when you re energize the system, look for a hot wire on that circuit rubbing against the tank.
Also check the voltage on the element when heating to make sure you are not putting 220 volts on a 110 volt element.