Would using a grounded extension cord negate the effects of a ground prong missing from device?
Nope!

Your problem is that you need to fix whatever is causing the shocks and replace the butchered plug.  There is no make-shift repair for this.