GetRaidDifficulty() became GetRaidDifficultyID() with patch 5.2
LFR raids are now INSTANCE_CHAT, not RAID.