In nine of those races, the lawmakers’ support of the law and the money they accepted have become key campaign themes.