do it vs shake hands with an old friend

do it

verb
  • To urinate. 

  • To be appealing or suitable. 

  • Used other than figuratively or idiomatically: see do, it. 

  • To have sex; make it. 

  • To do something exceptionally foolish or unacceptable. 

shake hands with an old friend

How often have the words do it and shake hands with an old friend occurred in a corpus of books? (source: Google Ngram Viewer )