Replace *mut with *const