in front of vs in the way of

in front of

prep
  • In the presence of, in view of (someone). 

  • At or near the front part of (something). 

  • Located before, ahead of, previous to (someone or something). 

in the way of

prep
  • 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. 

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

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