James Robinson's 1993 series"The Golden Age" picked up on Roy Thomas' McCarthyism story element from his 1986 book The Last Days of the Justice Society of America. Roy's book and Moore's Watchmen were both published in 1986, but I'm not sure which book pre-dated the other.