Unanimous ruling finalizes eight-year and six-and-a-half-year terms as part of efforts to digitize evidence to counter denialism.