A judge has ruled that Amazon must provide recordings that may have information in a murder trial due to start in April.