against vs in the way of

against

prep
  • In contrast or comparison with. 

  • In a contrary direction to. 

  • In competition with, versus. 

  • In front of; before (a background). 

  • Close to, alongside. 

  • In opposition to. 

  • In physical opposition to; in collision with. 

  • As protection from. 

  • Contrary to; in conflict with. 

  • In anticipation of; in preparation for (a particular time, event etc.). 

  • In exchange for. 

  • To be paid now in contrast to the following amount to be paid later under specified circumstances, usually that a movie is made or has started filming. 

  • As counterbalance to. 

  • In physical contact with, so as to abut or be supported by. 

  • Of betting odds, denoting a worse-than-even chance. 

  • As a charge on. 

in the way of

prep
  • In relation to; in connection with; with respect to. 

  • Similar to; as an instance of; as a kind of. 

  • In or into a position of being likely to obtain, to attain, or to achieve. 

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