in that case the drive seem to be defective and need to be replaced. As i understand this drive was built inside a host device so in that case i would try to contact the manufacturer of the device to see what else can be done with the drive or how you can replace it if still in warranty.
Open a Command prompt by clicking Start, typing command , and clicking Command Prompt.
Type diskpart and press Enter.
Type list volume and press Enter.
Type select volume # , where # is the number of the drive that’s giving you the “write-protected” error. In my case, I ended up typing select volume 3.
Type attributes disk clear readonly and press Enter.