ITV group legal director and company secretary Andrew Garard has stepped down from his role after more than 10 years.