beat the system vs edge out

beat the system

verb
  • To circumvent rules, regulations, or conventions, usually by finding loopholes. 

edge out

verb
  • To defeat in a contest or a game by a narrow margin of victory. 

How often have the words beat the system and edge out occurred in a corpus of books? (source: Google Ngram Viewer )