deterrent vs preventive

deterrent

adj
  • Serving to deter, preventing something from happening. 

noun
  • Something that deters. 

preventive

adj
  • Preventing, hindering, or acting as an obstacle to. 

  • Carried out to deter military aggression. 

  • Slowing the development of an illness; prophylactic. 

noun
  • A thing that slows the development of an illness. 

  • A contraceptive, especially a condom. 

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