Police officer under fire for allegedly helping friend