be friends vs have to do with

be friends

have to do with

How often have the words be friends and have to do with occurred in a corpus of books? (source: Google Ngram Viewer )