I’m not sure your explanation is sound. Studies have shown doctors/nurses get sick (pre-Covid) at more or less the same rate as the rest of the population, despite increased exposure to circulating colds and flus. Explanations ranged from “they get vaccinated more” to “background exposure to very low payloads primes the immune system and keeps them healthier.”