Mayor Eric Adams on Tuesday formally nominated Randy Mastro for the position of New York City corporation counsel, months after it was leaked that Mastro was being considered for the role, generating controversy among some City Council members.