To find and to remove SIDHistory:

Web resources:

http://blogs.technet.com/b/ashleymcglone/archive/2014/09/05/powershell-module-for-active-directory-sid-history-now-faster.aspx

Remove SIDhistory:

http://blogs.technet.com/b/ashleymcglone/archive/2011/11/23/how-to-remove-sid-history-with-powershell.aspx

SIDHistory powershell module: https://gallery.technet.microsoft.com/PowerShell-Module-for-08769c67

With AD cmdlets: https://technet.microsoft.com/en-us/library/powershell_remove_sid_history%28WS.10%29.aspx