John Mayer's "Waiting on the World to Change" (2006) is not referenced in Harper Lee's To Kill a Mockingbird (1960). The novel predates the song by 46 years. However, both works share themes:
Teachers sometimes pair them for discussion, but no direct link exists.