immunity vs resistance

immunity

noun
  • A resistance to a specific thing. 

  • An exemption from specified duties, such as payments or services. 

  • An exemption from penance. 

  • An exemption given to a player from losing or being withdrawn from play. 

  • An exemption from prosecution. 

  • Protective resistance against disease. 

resistance

noun
  • The act of resisting, or the capacity to resist. 

  • An underground organisation engaged in a struggle for liberation from forceful occupation; a resistance movement. 

  • A force that tends to oppose motion. 

  • electrical resistance. 

How often have the words immunity and resistance occurred in a corpus of books? (source: Google Ngram Viewer )