deterrent vs restriction

deterrent

noun
  • Something that deters. 

adj
  • Serving to deter, preventing something from happening. 

restriction

noun
  • A regulation or limitation that restricts. 

  • The act of restricting, or the state of being restricted. 

  • The mechanism by which a cell degrades foreign DNA material. 

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