Don't use cedar, it's highly toxic. Pine for the rodents is probably fine, if you're not noticing an increase in sniffles with it. I wouldn't use it for a pet rat I meant to keep alive for 4 years, but for feeders who generally live only 1 year, it's not an issue.
Snake keepers have been feeding snakes on rodents kept on pine for decades with no noticeable issue.