Loretta Pearce, a former diversity leader at Meta, is joining Shearman & Sterling as its first chief diversity and inclusion officer.