in the matter of vs with reference to

in the matter of

with reference to

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