Is there a way of locating my serial number electronicslly on the drive

The serial number and model number on my drive have been erased by wear. So can I find it within the files on the drive, if so where?

Not in a file but you can try out the WD Data Lifeguard software - https://support.wdc.com/downloads.aspx?p=3

Contact the WD Support directly if further help needed -
https://support-en.wd.com/app/Contact_Us