I have the 1st one you pictured & it is now 18yrs old & falling apart < cage has lost a couple welds & the whole thing has a rust crust from my high-iron well water.
I thought I might have to replace it this Winter, but nope, still working even in Sub-Zero temps.
My trough is a 50gal foodgrade plastic barrel.
Maybe your cord is the problem?
To prevent my horses removing the de-icer from the trough, I have this Rube Goldberg arrangement:
Cord runs through PVC pipe from the bottom of the trough, with an elbow joint at the top (also PVC) duct-taped in place. More PVC with cord inside then runs into a cinder block & is wedged in place with rocks.
Yes, I am just that Classy.
Cord exits at the bottom of the cinder block, more rocks tuck it into the track for the door & it’s plugged into an outlet just inside the front sliding door to the barn.
Trough sits just outside that door.