Added whitelisting to MSR read/write code