what is the role of a real estate lawyer