Use new history params callback stuff for history

Change-Id: I60e3c16f6f0c1310077fa6a8791bbd380d959e72