Add internal API for key-specific history reset