Old V 2017 SSD died

Late weeks seen few BSODs and now after another restart it throws BSOD with REGISTRY ERROR every time it tries to boot. When tried to format, I got errors about volume being write protected. I can read files from cmd, but I can’t write or format, or clear write protection. Now it’s completely bead weight. Thanks for the experience Eve.