U.S. law firm duo Davis Polk & Wardwell and Latham & Watkins are advising on a major beauty deal worth over $2.5 billion.