dally with someone's affections vs have affairs

dally with someone's affections

have affairs

How often have the words dally with someone's affections and have affairs occurred in a corpus of books? (source: Google Ngram Viewer )