house counsel

noun
  1. : a lawyer employed by a business to work in-house on its legal matters