contrary to vs opposed to

contrary to

prep
  • despite; in opposition to (an assumption, etc.); differently from 

opposed to

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