The only kind of pine that is remotely acceptable is kiln dried pine.
I would go through with some wood sealant and apply a few coats for that.
I personally would just not use the rack, but if you sealed it very well it might be fine.
Its not the actual wood thats toxic, it is the phenols it emmits.