One in four corporate legal departments use diversity data as a factor in choosing which law firms they work with, according to a recent study.