Open PowerShell as administrator
Use this command to find the driver:
pnputil /enum-drivers | findstr "wdcsam"
Note the Published Name (something like oem12.inf)
Delete it using that name:
pnputil /delete-driver oem12.inf /uninstall /force
If you still can't delete it, you'll need to start Windows in safe mode to delete the file.