in connection with vs referring to

in connection with

referring to

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