Sentence 1: He served as the general counsel to both the Isthmian Canal Commission and later the Panama Railroad Company .
Sentence 2: He served as the General Counsel for both the Panama Railroad Company and later the Isthmian Canal Commission .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?