Hi, I am Dave, I will help you with this.
Those folders are protected and are only accessible in Safe Mode.
1
Start Windows in Safe Mode.
Open File Explorer, then on the View menu at the top, temporarily turn on 'Hidden Items'.
Navigate to this folder: C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service
Delete the contents of that Service folder.
Navigate to this folder:
C:\ProgramData\Microsoft\Windows Defender\Quarantine
Delete the contents of that Quarantine folder.
Close File Explorer.
2
Restart Windows in normal mode.
Open Defender and select the option to perform an offline scan, your PC will restart to perform that scan.
Then check if that malware list in Defender is clear.