Yeeouch! Your fish has a nasty case of HITH. What you need is
lots of water changes! Also, if you have any carbon in your filter, remove that, and if you ever feed goldfish, stop.
This is a bad case of it, and it may be difficult for him to pull through. Hopefully, with pristine water conditions and some TLC he will.
As to whether a voltage leak leads to HITH, well, to be honest I think that's unlikely, however, I copied some info from world cichlids just in case:
If your fish mysteriously come down with HITH and your care is impeccable, or if your fish have a chronic problems with HITH generation after generation You might want to get a Voltmeter/Multitester. This device measures electrical currents. Place one of the probes directly into the tank water, and ground the other. The dial should read zero (0). Any reading over zero (0) and this could be your problem. Fish are very sensitive to water conditions and electricity in the water is a major source of stress. Buy a grounding probe and install it in your tank, then try and determine which piece of equipment is causing the leak and either replace or discard it
Now, the main reason I don't think a voltage leak is the cause is because you mentioned your fish was in a 30 gallon tank. You'll a 55 or 75 gallon tank as
minimum for one oscar. Not only is 30 gallons an extremely limited amount of swimming space, but in such a small volume of water toxins from uneaten fish food and poo contaminate the water and cause stress to the fish much more quickly that in a larger tank. Until you get a larger tank, I would suggest you do
20% water changes twice a week. This will help remove those 'toxins' which, are the main cause of HITH anyways.
Also, continue treating with metronidazole. But before you do any of that stuff, turn your water temp down! Eighty two-86 degrees is much to high for most aquarium fish. When the temperature gets higher the oxygen in the water becomes more dissolved and makes it harder for the fish to breathe causing stress.
Anyways, good luck mate! I hope your fish pulls through.
-Art