Replace \Drupal calls with dependency injection in MetatagViewsTranslationController