pay tribute to vs take one's hat off to

pay tribute to

take one's hat off to

verb
  • To praise or thank; to congratulate. 

  • To remove one's hat as a sign of respect to. 

How often have the words pay tribute to and take one's hat off to occurred in a corpus of books? (source: Google Ngram Viewer )