as it happens vs by the by(e)

as it happens

adv
  • By coincidence, incidentally 

by the by(e)

How often have the words as it happens and by the by(e) occurred in a corpus of books? (source: Google Ngram Viewer )