be someone's girlfriend vs have an affair with

be someone's girlfriend

have an affair with

How often have the words be someone's girlfriend and have an affair with occurred in a corpus of books? (source: Google Ngram Viewer )