Robert Dunn, Lawyer