Added proofs for read_sound and deallocate key.