rub up the right way vs try to get someone on one's side

rub up the right way

try to get someone on one's side

How often have the words rub up the right way and try to get someone on one's side occurred in a corpus of books? (source: Google Ngram Viewer )