contract law vs legal agreement

contract law

noun
  • The area of law pertaining to the rights and duties that arise from agreements. 

legal agreement

noun
  • An agreement that is legally binding on the parties in some way. 

How often have the words contract law and legal agreement occurred in a corpus of books? (source: Google Ngram Viewer )