Not quite the solution you had in mind, but possibly an easier one:
My guess is that the sensor that detects the write protect status is probably covered in gunk and dust. If you pop the drive open you should be able to access it, right at the mouth of the drive - hit it with some isopropyl alcohol and a q-tip and hopefully it frees up.