Having received a raise recently will not shield you from being laid off. Talking from personal experience. I managed to enjoy my pay bump (as measly as it was) just for a few months before I was handed the proverbial pink slip.
Just thought a warning to others would be nice, since it took me by surprise.