do by vs turn one's hand to

do by

verb
  • To perform on behalf of someone or with someone in mind; to behave in a manner befitting someone. 

turn one's hand to

verb
  • To adapt or apply oneself to; to engage in; to undertake. 

How often have the words do by and turn one's hand to occurred in a corpus of books? (source: Google Ngram Viewer )