bylaw vs legal code

bylaw

noun
  • A rule made by a local authority to regulate its own affairs. 

  • A law or rule governing the internal affairs of an organization (e.g., corporation or business). 

  • A local custom or law of a settlement or district. 

legal code

noun
  • All the official laws of a country or state 

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