immunity vs protection

immunity

noun
  • An exemption from prosecution. 

  • 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. 

  • A resistance to a specific thing. 

  • Protective resistance against disease. 

protection

noun
  • Immunity from harm, obtained by illegal payments, as bribery or extortion. 

  • Coverage. 

  • A means of keeping or remaining safe. 

  • The process of keeping (something or someone) safe. 

  • The state of being safe. 

  • An instance of a security token associated with a resource (such as a file). 

  • Restrictions on foreign competitors which limit their ability to compete with domestic producers of goods or services. 

  • A means, such as a condom, of preventing pregnancy or sexually transmitted disease. 

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