Persistence and memory of polar nanoregions in a ferroelectric relaxor under an electric field