Prosecutors say the benefits sought to influence City Hall’s handling of a long-promised street safety overhaul.