in contrast with vs in preference to

in contrast with

in preference to

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