gain mastery over vs restrain

gain mastery over

restrain

verb
  • To control or keep in check. 

  • To deprive of liberty. 

  • To strain again. 

  • To restrict or limit. 

How often have the words gain mastery over and restrain occurred in a corpus of books? (source: Google Ngram Viewer )