have an affair vs mess around

have an affair

verb
  • To engage in a romantic or sexual relationship while being married. 

mess around

verb
  • To have a sexual relationship, especially one which is non-commital. 

  • To joke, kid, or play. 

  • To fiddle idly. 

How often have the words have an affair and mess around occurred in a corpus of books? (source: Google Ngram Viewer )