put an end/stop to vs restrict

put an end/stop to

restrict

verb
  • To restrain within boundaries; to limit; to confine 

  • To consider (a function) as defined on a subset of its original domain. 

How often have the words put an end/stop to and restrict occurred in a corpus of books? (source: Google Ngram Viewer )