There is a Legacy version
here.
Peaceful Rest
Spell 2Concentrate Manipulate Source Player Core pg. 348Traditions arcane,
divine,
occult,
primalCast [two-actions] Range touch;
Targets 1 corpse
Duration until your next daily preparations
The targeted corpse doesn't decay, nor can it be transformed into an
undead. If the corpse is subject to a spell that requires the corpse to have died within a certain amount of time (for example,
raise dead), do not count the duration of
peaceful rest against that time. This spell also prevents ordinary bugs and pests (such as maggots) from consuming the body.
Heightened (5th) The spell's duration is unlimited, but the spell takes one more action to cast and requires a cost (embalming fluid worth 6 gp).