in preference vs just as soon

in preference

just as soon

How often have the words in preference and just as soon occurred in a corpus of books? (source: Google Ngram Viewer )