The major lawmakers drafting the legislation include Senators Edward M. Kennedy , Democrat of Massachusetts , and John McCain , Republican of Arizona , along with Representatives Jeff Flake , Republican of Arizona , and Luis V. Gutierrez , Democrat of Illinois .