Update: Rebecca_Harshbarger's comment on this thread solved it for me, and I only have 1 user on this laptop. If the thread is deleted somehow, here it is copy and pasted:
Step 1. While logged into Windows as my regular user, I started PowerShell 7 (x64) in Administrator code and ran these two commands:
Set-ExecutionPolicy Unrestricted
Get-AppxPackage Microsoft.SecHealthUI -AllUsers
The second command showed a bunch of information, including the InstallLocation.
Step 2. I started PowerShell 7 (x64) in regular mode, so that it ran as my regular user. I entered a command like this, where InstallLocation was the value from Step 1, above:
add-appxpackage -disabledevelopmentmode -register ('InstallLocation\AppxManifest.xml')
This was the exact text of my command; yours may vary:
add-appxpackage -disabledevelopmentmode -register ('C:\Program Files\WindowsApps\Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe\AppxManifest.xml')
That fixed the problem. By the way, once it was fixed, the command "Get-AppxPackage Microsoft.SecHealthUI -AllUsers" showed both my usernames in its PackageUserInformation value.