There are no cheat codes for the PS2 version of Guitar Hero III: Legends of Rock. The PS2 build lacks the cheat menu present in the Wii/PS3/360/PC versions (which unlock via specific button sequences on the guitar controller).
Practice Mode (slow down songs to 50–70%) is the real "cheat" for mastery. Use it to learn difficult sections like Through the Fire and Flames or One.