“I had several times thought about trying to return to the law and just thinking I wouldn’t get a fair shake at it,” said Christine Foo, now an associate general counsel at Meta.