Study: Prior infection protects against virus mutations