They're not. The structures are quite different.
I don't see any merit to this antimicrobial hypothesis, honestly. Muscle catabolism happens whenever protein is needed: what's the microbial threat when a body is starting to starve and disassembles some muscles to get gluconeogenesis going?