Judge issues temporary restraining order to prevent release of retroactive police records