Changes made by Inquiries into Fatal Accidents and Sudden Deaths etc. (Scotland) Act 2016 (Consequential Provisions) 2017
S.S.I. 2017/156
Made to Transfer of Functions (Lord Advocate and Secretary of State) 1999
From legislation.gov.uk's record of changes, the official one: see it there.