be friendly vs rub someone up the wrong way

be friendly

rub someone up the wrong way

How often have the words be friendly and rub someone up the wrong way occurred in a corpus of books? (source: Google Ngram Viewer )