infection protective mechanism