how do protein assists with immunity