Added const correctness to call info structs passed in safemem.