get on good side of vs take pains with

get on good side of

take pains with

How often have the words get on good side of and take pains with occurred in a corpus of books? (source: Google Ngram Viewer )