How does a battery work? Yes, stuff happens in a corrosion cell, but it’s not electrolysis.
Electrolysis is a process where potential is added. Google “how is chlorine made”.
I did that job along with serving subpoenas for three months. I thought that I was going to turn it into a propper job. Didn’t have a tow truck. Was just stealing them the old fashioned way. Had a knack for that, but couldn’t get used to almost getting shot so much.