I completely agree. To that end, it actually seems like fully decentralized client side contract tracking would be a useful technology to have a set of government supported open specifications for. Building the functionality into the OS, securely encrypting (no key escrow!) with a user supplied password, and requiring a warrant to seize (but good luck without the password) would proactively enable a robust response to future pandemics.
Actually I suppose this matches my view on location histories. I like them as an idea, but current implementations exfiltrate all the data off of my device which bothers me to no end.