Ultra-high-energy cosmic ray acceleration in engine-driven relativistic supernovae.